package com.wisdytech.linkdcs.pad.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 执行流水号生成涉及数据库操作类
 * </p>
 *
 * @author chenbin
 * @since 2018-08-13
 */
@TableName("TT_WO_SERIAL_NUMBER")
public class SerialNumber extends Model<SerialNumber> {

    private static final long serialVersionUID = 1L;

    @TableField("PRO_CODE")
    private String proCode;
    @TableField("SERIAL_NUMBER")
    private Integer serialNumber;


    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public Integer getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(Integer serialNumber) {
        this.serialNumber = serialNumber;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkVal();
    }

    @Override
    public String toString() {
        return "SerialNumber{" +
        ", proCode=" + proCode +
        ", serialNumber=" + serialNumber +
        "}";
    }
}
